home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
9-Digit Zip Code Directory
/
9-Digit Zip Code Directory (American Business Information) (ABIZIP-12).ISO
/
z4src.zip
/
BSERROR.H
< prev
next >
Wrap
Text File
|
1993-08-24
|
3KB
|
88 lines
//----------------------------------------------------------------------------
// MODULE DESCRIPTION
//
// Module: bserror.h
// Title: Base library
// Notice: John M. Weeder
// Copyright (c) 1993. All rights reserved.
// This module contains proprietary information and should be
// treated as confidential.
//
//----------------------------------------------------------------------------
// MAINTENANCE HISTORY
//
// $Workfile$
// $Revision$
// $Author$
// $Date$
// $Log$
//
//----------------------------------------------------------------------------
// MODULE NARRATIVE
//
//
// This module contains constants for error numbers.
//
// The code in this module should be written entirely in C.
// Do not use any C++ constructs.
//
// This module is portable to:
// DOS 3.X+
// MS Windows 3.X+
// OS/2 2.X+
// OS/2 2.0 PM
// SCO UNIX.
//
// The following compilers are supported:
// MSC 6.0A
// MSC/C++ 7.0
// Borland C++ 3.1 for DOS
// Borland C++ 1.0 for OS/2 2.X
// SCO UNIX cc
//
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
// Errors
//----------------------------------------------------------------------------
enum ERROR_CODE
{
ERR_SUCCESS = 0, // Success code
ERR_ERROR = 1, // Generic error
//
// Library error codes should follow this. Assign each new application
// a base error code. Space base error codes by at least 0x0100
// (ie 0x1000, 0x1100, 0x1200).
//
ERR_LIBRARY_BASE = 0x1000,
ERR_BASE_LIBRARY_BASE = 0x1000, // Base library (example)
//
// Application error codes should follow this. Assign each new application
// a base error code. Space base error codes by at least 0x0100
// (ie 0x4000, 0x4100, 0x4200).
//
ERR_APPLICATION_BASE = 0x4000,
};
//----------------------------------------------------------------------------
// Log
//----------------------------------------------------------------------------
enum LOG_CODE
{
LOG_ALWAYS = 0,
LOG_VERY_HIGH = 1,
LOG_HIGH = 50,
LOG_MEDIUM = 150,
LOG_LOW = 250,
LOG_MONITOR = 1000, // Special
LOG_HEAP,
LOG_VOX,
LOG_VOX_SHAVE,
};
//----------------------------------------------------------------------------
//------------------------------- End of File --------------------------------
//----------------------------------------------------------------------------